| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal buffer() As Byte, _ ByVal offset As Integer, _ ByVal count As Integer, _ ByVal encoding As Encoding _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim buffer() As Byte Dim offset As Integer Dim count As Integer Dim encoding As Encoding Dim instance As New Data(buffer, offset, count, encoding)  | |
| Managed Extensions for C++ | |
|---|---|
public: Data( byte[]* buffer, int offset, int count, Encoding* encoding )  | |
Parameters
- buffer
 - The buffer holding byte data values.
 - offset
 - The number of offset bytes where the data starts.
 - count
 - The number of bytes with data values.
 - encoding
 - The encoding type to use.
 
Target Platforms: Microsoft .NET Framework 2.0